<?php
/**
 * @package WordPress
 * @subpackage Freshine
 * @since Freshine 2.0.0
 */
?>

<?php if (in_array(get_option('f9_site_layout'),array('3cl')) ) : ?>
	<div id="f9-sidebar-left" class="widget-area">
	<?php if (is_active_sidebar( 'sidebar-left' )) : ?>
        <?php dynamic_sidebar( 'sidebar-left' ); ?>
    <?php else : ?>
        <div class="widget widget_text"><h2 class="widget_title"><span>Sample left widget</span></h2>
        <div class="textwidget">
		<p>This widget be displayed because you haven't any widget in sidebar left. To add new widgets you can access to WP Admin > Appearance > Widgets</p>
		</div>
		</div>
    <?php endif; ?>
    </div>
<?php endif; ?>
<?php if (in_array(get_option('f9_site_layout'),array('2cl','3cl','3cm')) ) : ?>
	<div id="f9-sidebar-right" class="widget-area">
	<?php if (is_active_sidebar( 'sidebar-right' )) : ?>
        <?php dynamic_sidebar( 'sidebar-right' ); ?>
    <?php else : ?>
        <div class="widget widget_text"><h2 class="widget_title"><span>Sample right widget</span></h2>
        <div class="textwidget">
		<p>This widget be displayed because you haven't any widget in sidebar right. To add new widgets you can access to WP Admin > Appearance > Widgets</p>
		</div>
		</div>
    <?php endif; ?>
    </div>
<?php endif; ?>